package com.himalayan.bear.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zjk
 * @since 2019-05-30
 */
@TableName("yp_folder")
public class Folder implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String folderName;

    private Integer folderLevel;

    private String code;

    private String parentId;

    private String userId;

    private LocalDateTime createDate;

    private Integer deleteFlag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getFolderName() {
        return folderName;
    }

    public void setFolderName(String folderName) {
        this.folderName = folderName;
    }
    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    @Override
    public String toString() {
        return "Folder{" +
        "id=" + id +
        ", folderName=" + folderName +
        ", parentId=" + parentId +
        ", userId=" + userId +
        ", createDate=" + createDate +
        ", deleteFlag=" + deleteFlag +
        "}";
    }

    public Integer getFolderLevel() {
        return folderLevel;
    }

    public void setFolderLevel(Integer folderLevel) {
        this.folderLevel = folderLevel;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
